snippet "pscan" "printf and scanf" wr
printf("$1\n");
scanf("%$2", $3);
endsnippet

snippet "puts" "printf and scanf" wr
puts("$1");
scanf("%$2", $3);
endsnippet

snippet "printf" "printf " wr
printf("$1\n", $2);
endsnippet

snippet "inte" "请输入" wr
请输入$1：
endsnippet

snippet "fori" "for 语句" wr
for ($1 = 0; $2 < $3; $4++)
endsnippet

snippet  "//" "注释" wr
/* $1 */
endsnippet
